package router

import (
	tools2 "com.lh.service/tools"
	"github.com/gin-gonic/gin"
)

func AuthRouter(route *gin.RouterGroup) *gin.RouterGroup {
	route.GET("/code/:name", tools2.Proxy("auth"))
	return route
}

func CodeRouter(route *gin.RouterGroup) *gin.RouterGroup {
	route.GET("/auth/:name", tools2.Proxy("auth"))
	return route
}
